Add more texture load tests
authorMatthias Clasen <mclasen@redhat.com>
Sun, 14 May 2023 11:47:52 +0000 (07:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 14 May 2023 11:50:11 +0000 (07:50 -0400)
commite50209a53544f67a14ec11f8e572aee9246a3e28
treef62cc37b41c4fa5b57f2a3142cc5092fb542031d
parentd6430995adec161ffbb052b3a04f171fed57d9f7
Add more texture load tests

Add some tests for handling of failures.

The test data here is taking from gdk-pixbufs
tests/test-images/fail directory, excluding anything
but png, tiff and jpg images.
testsuite/gdk/bad-image-data/CVE-2017-2862.jpg [new file with mode: 0644]
testsuite/gdk/bad-image-data/bug780269.tif [new file with mode: 0644]
testsuite/gdk/bad-image-data/bug784903-overflow-dimensions.tiff [new file with mode: 0644]
testsuite/gdk/bad-image-data/bug793470-crasher.png [new file with mode: 0644]
testsuite/gdk/bad-image-data/invalid.1.png [new file with mode: 0644]
testsuite/gdk/bad-image-data/invalid.2.png [new file with mode: 0644]
testsuite/gdk/bad-image-data/invalid.3.png [new file with mode: 0644]
testsuite/gdk/bad-image-data/invalid.4.png [new file with mode: 0644]
testsuite/gdk/image.c